|
PHY ATTACH CLOTH VERTEX TO SHAPE
Attaches a specific cloth vertex to the specified shape ( rigid body ).
PHY ATTACH CLOTH VERTEX TO SHAPE ID, vertex, object, x#, y#, z#, mode
ID
Integer
identification number of the cloth
vertex
Integer
selected vertex to attach object
object
Integer
identification number of the rigid body object that the vertex is to be attached to
x#
Float
local position on X axis
y#
Float
local position on Y axis
z#
Float
local position on Z axis
mode
Integer
a value indicating the attachment mode with 0 indicating object to cloth interaction and 1 setting object to cloth and cloth to object interaction
Attaching a specific vertex point on a cloth object can be useful when more precision is required over the alternative approach to phy attach cloth to all shapes.
No example code is provided for this command
|